package RoomPanel;

public class IDGenerator {
	private static int object_ID = 0;
	private static int room_ID = 0;
	private static int sensor_ID = 0;

	public static int getNextObjectID() {
		return object_ID;
	}

	public static int getNextRoomID() {
		return room_ID;
	}

	public static int getNextSensorID() {
		return sensor_ID;
	}

	public static void incrementObjectID() {
		object_ID++;
	}

	public static void incrementRoomID() {
		room_ID++;
	}

	public static void incrementSensorID() {
		sensor_ID++;
	}

	public static void initIDS(int roomID, int objectID, int sensorID) {
		room_ID = roomID;
		object_ID = objectID;
		sensor_ID = sensorID;
	}
}
